package com.abc.test.model.dto;

import com.lyl.common.validation.annotation.ListValue;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Mr.Luo
 * @date 2022-09-15 17:41
 * @desc
 */
@Data
public class UserDTO {
    @ListValue({"张三", "李四"})
    private String name;

    @NotBlank(message = "密码不能为空")
    private String pwd;
}
